/**
 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Autogenerated file -- DO NOT EDIT!

#include "intrinsics_codegen_ext.inl.h"

% codegen_funcs = Compiler::intrinsics.select {|intrinsic| intrinsic.respond_to? 'codegen_func'}.collect {|intrinsic| intrinsic.codegen_func}
% # declare functions implemented in the core part but needed only in plugins
% codegen_funcs += ['CreateStringEquals', 'CreateMathCeil', 'CreateMathFloor']
% codegen_funcs += ['CreateFloatIsInteger', 'CreateFloatIsSafeInteger', 'CreateDoubleIsInteger', 'CreateDoubleIsSafeInteger']
% codegen_funcs += ['CreateCountLeadingZeroBits']
% codegen_funcs += ['CreateStringBuilderBool', 'CreateStringBuilderChar','CreateStringBuilderString']
% codegen_funcs += ['CreateStringFromStringTlab', 'CreateStringFromCharArrayTlab', 'CreateArrayCopyTo']
% codegen_funcs += ['CreateStringSubstringTlab', 'CreateStringGetCharsTlab']
% codegen_funcs += ['CreateStringHashCode', 'CreateStringCompareTo']
% codegen_funcs.uniq.each do |codegen_func|
void <%= codegen_func %>(IntrinsicInst *inst, Reg dst, SRCREGS src);
% end
